home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / lisp / clue.lha / clue / doc / clue.tex / node143_mn.html < prev    next >
Text File  |  1989-07-12  |  3KB  |  90 lines

  1.  
  2. <H3><A ID="SECTION004111100000000000000"><tex2html_anchor_invisible_mark></A> <A ID="ch:timers"><tex2html_anchor_mark></A><BR>
  3. Timers
  4. </H3><#5084#>
  5.            
  6.       
  7.  
  8. CLUE provides support for animation<A ID="1660"><tex2html_anchor_invisible_mark></A> and other types of
  9. time-sensitive user interfaces via objects 
  10. called <#1661#><B>timers</B><#1661#><A ID="1662"><tex2html_anchor_invisible_mark></A>.
  11. A timer is a source of <#1663#><TT>:timer</TT><#1663#> events, inserting them into the event stream
  12. of a <#1664#><TT>contact-display</TT><#1664#> according to a specific time interval. A timer causes
  13. <#1665#><TT>:timer</TT><#1665#> events to be dispatched to a specific contact for processing.
  14.  
  15. <P>
  16. A <#1666#><TT>:timer</TT><#1666#> event is
  17. defined by CLUE and is represented by an <#1667#><TT>event</TT><#1667#> object with the following
  18. non-<#1668#><TT>nil</TT><#1668#> slot values.
  19. <A ID="1669"><tex2html_anchor_invisible_mark></A>
  20.  
  21. <P>
  22. <DIV class="CENTER">
  23. <TT></TT><TABLE CELLPADDING=3>
  24. <TR><TD ALIGN="LEFT"><TT>
  25. key       </TT></TD>
  26. <TD ALIGN="LEFT"><TT> :timer</TT></TD>
  27. <TD ALIGN="LEFT"><TT></TT></TD>
  28. </TR>
  29. <TR><TD ALIGN="LEFT"><TT> 
  30. contact   </TT></TD>
  31. <TD ALIGN="LEFT"><TT> </TT><EM>timer contact</EM><TT></TT></TD>
  32. <TD ALIGN="LEFT"><TT></TT></TD>
  33. </TR>
  34. <TR><TD ALIGN="LEFT"><TT> 
  35. name      </TT></TD>
  36. <TD ALIGN="LEFT"><TT> </TT><EM>timer name</EM><TT></TT></TD>
  37. <TD ALIGN="LEFT"><TT></TT></TD>
  38. </TR>
  39. <TR><TD ALIGN="LEFT"><TT> 
  40. data      </TT></TD>
  41. <TD ALIGN="LEFT"><TT> </TT><EM>timer data</EM><TT></TT></TD>
  42. <TD ALIGN="LEFT"><TT></TT></TD>
  43. </TR>
  44. <TR><TD ALIGN="LEFT"><TT> 
  45. display      </TT></TD>
  46. <TD ALIGN="LEFT"><TT> </TT><EM>contact-display</EM><TT>
  47. </TT></TD>
  48. <TD ALIGN="LEFT"><TT></TT></TD>
  49. </TR>
  50. </TABLE><TT>
  51. </TT>
  52. </DIV>
  53.  
  54. <P>
  55. Timers are abstract ``objects'' that are not actually represented as CLOS class
  56. instances, but instead are defined solely by the following functional
  57. interfaces.
  58.  
  59. <P>
  60. <#4667#>
  61. <#4320#><FONT SIZE="+1"><#1679#><B>add-timer Function, contact</B><#1679#></FONT><#4320#> 
  62. <A ID="1680"><tex2html_anchor_invisible_mark></A>
  63. <A ID="1681"><tex2html_anchor_invisible_mark></A>
  64. <DIV class="RIGHT">
  65. <tex2html_image_mark>#tex2html_wrap_inline10040#
  66. </DIV><#4667#>
  67.  
  68. <P>
  69. <DIV class="RIGHT">
  70. <A NAME="tex2html204" HREF="#footfnm1" TARGET="footer"><tex2html_image_mark>#tex2html_wrap_inline10043#</A>
  71. </DIV>
  72.  
  73.  
  74. <P>
  75. <#4323#><FONT SIZE="+1"><#1703#><B>delete-timer Function, contact</B><#1703#></FONT><#4323#> 
  76. <A ID="1704"><tex2html_anchor_invisible_mark></A>
  77. <A ID="1705"><tex2html_anchor_invisible_mark></A>
  78. <DIV class="RIGHT">
  79. <tex2html_image_mark>#tex2html_wrap_inline10045#
  80. </DIV>
  81.  
  82. <P>
  83. <DIV class="RIGHT">
  84. <tex2html_image_mark>#tex2html_wrap_inline10046#
  85. </DIV>
  86.  
  87. <P>
  88. <#4326#>
  89.  
  90.  =0 <#5094#>=0 <#5098#>